import 'package:flutter/material.dart';


class NewRoute extends StatelessWidget {

  final String txt;

  NewRoute({Key key,@required this.txt}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
        title: Text("Detail")
      ),
      body: Text(this.txt,),
    );
  }
}


